package com.jiazhong.集合类.Collection.Set.HashSet;

public class User {
    private String username;
    private Integer password;
    private Integer UserId;

    public User( Integer userId,String username, Integer password) {
        this.username = username;
        this.password = password;
        UserId = userId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Integer getPassword() {
        return password;
    }

    public void setPassword(Integer password) {
        this.password = password;
    }

    public Integer getUserId() {
        return UserId;
    }

    public void setUserId(Integer userId) {
        UserId = userId;
    }

    @Override
    public String toString() {
        return "User{" +
                "username='" + username + '\'' +
                ", password=" + password +
                ", UserId=" + UserId +
                '}';
    }
}
